package com.jlkf.common;

/**
 * Created by Administrator on 2016/12/13 0013.
 */
public class Constant {
//	public static final String SERVER_NAME="13.211.3.148";
	public static final String SERVER_NAME="54.66.146.242";
	
	public static final int CONNECTTIMEOUT=5000;
	
	public static final int READTIMEOUT=40000;
	
	public static final int JOINGROUP=1;
	
	//分页大小设置
	public static final int PAGESIZE=20;
	//评论大于多少推荐
	public static final int PLS = 20;
	//点赞大于多少推荐
	public static final int DZS = 20;
	
	public static final int BROADCASTCOMMENT_CONTENT_LENGTH_500=500;
	
	//文件上传文件夹类型
	public static final int UPLOAD_PHOTO_TYPE_WEBROADCAST=1;
	public static final int UPLOAD_PHOTO_TYPE_MY_TRAIN=2;
	public static final int UPLOAD_PHOTO_TYPE_MY_DATA=3;
	
	public final static String IMAGECOMPRESS_SMALLICON="x2";
	
	public final static int IMAGECOMPRESS_WIDTH=400;  //图片压缩宽度
	public final static int IMAGECOMPRESS_HEIGHT=400;  //图片压缩长度
	public final static int IMAGECOMPRESS_COMBASE= 139; //图片压缩基比
	//压缩限制(宽/高)比例  一般用1：
	 //当scale>=1,缩略图height=comBase,width按原图宽高比例;若scale<1,缩略图width=comBase,height按原图宽高比例
	public final static double IMAGECOMPRESS_SCALE=1d;
	
	public static final String FS="yzisn9jibfsxrqbet8hn";
	
	//融云的appkey
	public static final String RONG_CLOUD_appKey="k51hidwqkn3lb";
	public static final String RONG_CLOUD_appSecret="WfxQjNtlzS";
	
}
